/**
 * 网站主页轮播图
 * 
 */
// ***************	网站首页 begin	***************	//
if(_EsdDynamicTransformationScript.isSiteIndexPage){
	
	var part_First = function(){
	
	//  首页 中左部的轮播图  ---------------  begin
	//轮播前的标签
	//index的53行导航最后一个a，308行轮播最后一个a，slide主轮播的轮播之前的a，是同一个
	_EsdDynamicTransformationScript.esd12TagFrontNum1 = $(".nav_lm_box .nav_lm:eq(5) .nav_lm_tc .nav_zxzt .nav_ztzl_ul .tempWrap .nav_ztzl_gd li:eq(6) a");

	//文字A标签
	_EsdDynamicTransformationScript.esd12TagANum1 = $(".index_nr_line1 .index_new .index_new_box .index_tu:eq(0) .index_zi a");
	_EsdDynamicTransformationScript.esd12TagANum2 = $(".index_nr_line1 .index_new .index_new_box .index_tu:eq(1) .index_zi a");
	_EsdDynamicTransformationScript.esd12TagANum3 = $(".index_nr_line1 .index_new .index_new_box .index_tu:eq(2) .index_zi a");
	_EsdDynamicTransformationScript.esd12TagANum4 = $(".index_nr_line1 .index_new .index_new_box .index_tu:eq(3) .index_zi a");
	_EsdDynamicTransformationScript.esd12TagANum5 = $(".index_nr_line1 .index_new .index_new_box .index_tu:eq(4) .index_zi a");

	//原点
	_EsdDynamicTransformationScript.esd12TagCircleNum1 = $(".index_nr_line1 .index_new .index_new_dian .index_new_dbox li:eq(0)");
	_EsdDynamicTransformationScript.esd12TagCircleNum2 = $(".index_nr_line1 .index_new .index_new_dian .index_new_dbox li:eq(1)");
	_EsdDynamicTransformationScript.esd12TagCircleNum3 = $(".index_nr_line1 .index_new .index_new_dian .index_new_dbox li:eq(2)");
	_EsdDynamicTransformationScript.esd12TagCircleNum4 = $(".index_nr_line1 .index_new .index_new_dian .index_new_dbox li:eq(3)");
	_EsdDynamicTransformationScript.esd12TagCircleNum5 = $(".index_nr_line1 .index_new .index_new_dian .index_new_dbox li:eq(4)");

	//轮播后的标签
	_EsdDynamicTransformationScript.esd12TagAfterNum1 = $(".index_nr_line1 .index_new .index_tplb_more a");


	//轮播前的焦点，放到nav专题专栏里的轮播里了
//	_EsdDynamicTransformationScript.esd12TagFrontNum1.focus(function (e) {
//		$(this).bind("keydown.keydown_0", function (e) {
//			if(e.shiftKey&&e.keyCode==9){
//
//			}else if (e.keyCode == 9) {
//				_EsdDynamicTransformationScript.esd12TagCircleNum1.click();
//				_EsdDynamicTransformationScript.esd12TagANum1.focus();
//				return false;
//			}
//		});
//	});
//	_EsdDynamicTransformationScript.esd12TagFrontNum1.blur(function () {
//		$(this).unbind("keydown.keydown_0");
//	});

	//第一块
	_EsdDynamicTransformationScript.esd12TagANum1.focus(function (e) {
		_EsdDynamicTransformationScript.esd1TagNum5.mouseout();
		$(this).bind("keydown.keydown_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd1TagNum5.mouseover();
				_EsdDynamicTransformationScript.esd11TagCircleNum6.click();
				_EsdDynamicTransformationScript.esd11TagANum6.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd12TagCircleNum2.click();
				_EsdDynamicTransformationScript.esd12TagANum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd12TagANum1.blur(function () {
		$(this).unbind("keydown.keydown_1");
	});

	//第二块
	_EsdDynamicTransformationScript.esd12TagANum2.focus(function (e) {
		$(this).bind("keydown.keydown_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd12TagCircleNum1.click();
				_EsdDynamicTransformationScript.esd12TagANum1.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd12TagCircleNum3.click();
				_EsdDynamicTransformationScript.esd12TagANum3.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd12TagANum2.blur(function () {
		$(this).unbind("keydown.keydown_2");
	});

	//第三块
	_EsdDynamicTransformationScript.esd12TagANum3.focus(function (e) {
		$(this).bind("keydown.keydown_3", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd12TagCircleNum2.click();
				_EsdDynamicTransformationScript.esd12TagANum2.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd12TagCircleNum4.click();
				_EsdDynamicTransformationScript.esd12TagANum4.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd12TagANum3.blur(function () {
		$(this).unbind("keydown.keydown_3");
	});

	//第四块
	_EsdDynamicTransformationScript.esd12TagANum4.focus(function (e) {
		$(this).bind("keydown.keydown_4", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd12TagCircleNum3.click();
				_EsdDynamicTransformationScript.esd12TagANum3.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd12TagCircleNum5.click();
				_EsdDynamicTransformationScript.esd12TagANum5.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd12TagANum4.blur(function () {
		$(this).unbind("keydown.keydown_4");
	});

	//第五块
	_EsdDynamicTransformationScript.esd12TagANum5.focus(function (e) {
		$(this).bind("keydown.keydown_5", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd12TagCircleNum4.click();
				_EsdDynamicTransformationScript.esd12TagANum4.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd12TagAfterNum1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd12TagANum5.blur(function () {
		$(this).unbind("keydown.keydown_5");
	});

	//轮播后的焦点
	_EsdDynamicTransformationScript.esd12TagAfterNum1.focus(function (e) {
		$(this).bind("keydown.keydown_6", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd12TagCircleNum5.click();
				_EsdDynamicTransformationScript.esd12TagANum5.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd7TagNum1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd12TagAfterNum1.blur(function () {
		$(this).unbind("keydown.keydown_6");
	});
	//  首页 中左部的轮播图  ---------------  end
	
	}
	
}
//***************	网站首页 end	***************	//